package com.ccp.dev.system.xml.system;


import com.ccp.dev.system.model.SysDataSource;
import com.ccp.dev.core.basic.consts.SystemConst;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *数据源xml导入导出封装类
 *
 * @author caishaofan
 */
@XmlRootElement(name="dataSources")
@XmlAccessorType(XmlAccessType.FIELD)
public class SysDataSourceXml
{
	/**
	 * 系统数据源
	 */
	@XmlElement(name= SystemConst.SYS_DATA_SOURCE,type= SysDataSource.class)
	private SysDataSource dataSource;

	public SysDataSource getDataSource() {
		return dataSource;
	}

	public void setDataSource(SysDataSource dataSource) {
		this.dataSource = dataSource;
	}
	
	

}
